﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ProjectX
{
    public class Errorbase:System.Web.UI.Page
    {
        public Errorbase(){}

        /// <summary>
        /// 一般错误处理
        /// </summary>
        /// <param name="source"></param>
        /// <param name="e"></param>
        void Page_Error(Object source, EventArgs e)
        {
            Exception err = Server.GetLastError();
            Server.Transfer("/404.htm");
        }
    }

    
}